package com.ktgj.train.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TrainOrderApp implements Serializable {
    /** 订单id */
    private Long orderid;

    /** 车次号 */
    @Excel(name = "车次号")
    private String trainnumber;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String ordernumber;

    /** 出发车站 */
    @Excel(name = "出发车站")
    private String departurestationname;

    /** 到达车站 */
    @Excel(name = "到达车站")
    private String arrivalstationname;

    /** 出发时间 */
    @Excel(name = "出发时间")
    private String departuretime;

    /** 到达时间 */
    @Excel(name = "到达时间")
    private String arrivaltime;

    /** 乘车日期 */
    @Excel(name = "乘车日期")
    private String traveldate;

    /** 支付价 */
    @Excel(name = "支付价")
    private BigDecimal payamount;

    /** Order订单状态 */
    @Excel(name = "Order订单状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 订单支付过期时间 */
    @Excel(name = "订单支付过期时间")
    private String expirationTime;

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public String getTrainnumber() {
        return trainnumber;
    }

    public void setTrainnumber(String trainnumber) {
        this.trainnumber = trainnumber;
    }

    public String getDeparturestationname() {
        return departurestationname;
    }

    public void setDeparturestationname(String departurestationname) {
        this.departurestationname = departurestationname;
    }

    public String getArrivalstationname() {
        return arrivalstationname;
    }

    public void setArrivalstationname(String arrivalstationname) {
        this.arrivalstationname = arrivalstationname;
    }

    public String getDeparturetime() {
        return departuretime;
    }

    public void setDeparturetime(String departuretime) {
        this.departuretime = departuretime;
    }

    public String getArrivaltime() {
        return arrivaltime;
    }

    public void setArrivaltime(String arrivaltime) {
        this.arrivaltime = arrivaltime;
    }

    public String getTraveldate() {
        return traveldate;
    }

    public void setTraveldate(String traveldate) {
        this.traveldate = traveldate;
    }

    public BigDecimal getPayamount() {
        return payamount;
    }

    public void setPayamount(BigDecimal payamount) {
        this.payamount = payamount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(String expirationTime) {
        this.expirationTime = expirationTime;
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }
}
